home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Archive / Games / InputSprocketPPTest / ISpPPTest.r < prev    next >
Encoding:
Text File  |  2000-09-28  |  1.7 KB  |  68 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        ISpPPTest.r
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Version:    xxx put version here xxx
  7.  
  8.     Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     File Ownership:
  11.  
  12.         DRI:                xxx put dri here xxx
  13.  
  14.         Other Contact:        xxx put other contact here xxx
  15.  
  16.         Technology:            xxx put technology here xxx
  17.  
  18.     Writers:
  19.  
  20.         (BWS)    Brent Schorsch
  21.  
  22.     Change History (most recent first):
  23.  
  24.          <1>     7/17/98    BWS        first checked in
  25. */
  26.  
  27. /*************************************************************************************
  28.  
  29. File:      ISpPPTest.r
  30.  
  31. Copyright © 1996, 1997, 1998 Apple Computer, Inc., All Rights Reserved
  32.  
  33.  
  34. You may incorporate this sample code into your applications without
  35. restriction, though the sample code has been provided "AS IS" and the
  36. responsibility for its operation is 100% yours.  However, what you are
  37. not permitted to do is to redistribute the source as "DSC Sample Code"
  38. after having made changes. If you're going to re-distribute the source,
  39. we require that you make it clear in the source that the code was
  40. descended from Apple Sample Code, but that you've made changes.
  41.  
  42. *************************************************************************************/
  43.  
  44. #include "InputSprocket.r"
  45.  
  46. /* the InputSprocket application resource tells utility programs how the */
  47. /* application uses InputSprocket */
  48.  
  49. #define    kResourceID_isap                        128
  50. #define    kResourceID_setl                        128
  51.  
  52. resource 'isap' (kResourceID_isap)
  53. {
  54.     callsISpInit,
  55.     usesInputSprocket
  56. };
  57.  
  58. /* the set list resource contains the list of all the saved sets for devices */
  59. /* that are provided in the application's resource fork */
  60.  
  61. resource 'setl' (kResourceID_setl, "ISpTest (PowerPlant) sets")
  62. {
  63.     currentVersion,
  64.     {
  65.     };
  66. };
  67.  
  68.